using System;
using System.Collections.Generic;
using System.Text;
using DotExe.Core.Web;
using DotExe.Core.DataSources;

namespace WebSMSApp.Forms
{
    public partial class LoginForm : ClientApplication
    {    
		public LoginForm()
			: base()
		{
			this.Loaded += new System.EventHandler(LoginForm_Load);
			this.Started += new System.EventHandler(LoginForm_Started);
		}
		
		//occures after datasources and trigger configuration loads
		protected void LoginForm_Load(object sender, EventArgs e)
		{
			InitializeComponent();
			
			//initialize custom data sources and triggers
		}
		
		//ocurres on everytime form starts
		protected void LoginForm_Started(object sender, EventArgs e)
		{
		
		}
		
		protected virtual void btnLoginClick(object sender, EventArgs e)
		{
            MainForm main = new MainForm();
            main.StartIn("VIEWPORT");
            this.Hide();
		}
    }
}